#{extends 'frameHome.html' /} #{set title:'list of topics with no ideas' /}#{set 'moreStyles'}
<link rel="stylesheet" href="@{'/public/stylesheets/forms.css'}">

<link rel="stylesheet" href="@{'/public/stylesheets/css3buttons.css'}">#{/set}
<div id="main">
<div id="content">


	<div id="showAllTopics">


		<ul>
			#{if allTopics}
			<br>

			<p>Click on the topic you wish to delete!</p>
			#{list items:allTopics, as:'topic'}

			<li><a href="@{Topics.showTopic(topic.id)}"class="button"><span class="calendar icon"></span>${topic.title}</a> #{if permit} <a
				href="@{Topics.topicDeleted(topic.id)}" class="negative button"
				onclick="return confirm ('Are you sure you want to delete this topic?');"><span class="trash icon"></span> Delete
			</a>#{/if}</li>#{/list} #{/if} #{else}
			<br>
			<br> Sorry! This entity has no topics that have no ideas!!
			#{/else}
		</ul>
<a href="@{Entity.viewEntity(entityId)}"class="pill button"> Back </a>


	</div>

</div>